package com.lngtms.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.lngtms.service.IUser;

@Service("userService")
public class User implements IUser {
	
	@Resource
	com.lngtms.dao.IUser iuser;
	
	public com.lngtms.dao.IUser getIuser() {
		return iuser;
	}


	public void setIuser(com.lngtms.dao.IUser iuser) {
		this.iuser = iuser;
	}

	
	
	public boolean Login(String name, String password) {
		// TODO Auto-generated method stub
		return false;
	}

	
	public List<com.lngtms.po.User> find(String name) {
		// TODO Auto-generated method stub
		return iuser.find();
	}

	
	public List<com.lngtms.po.User> find() {
		// TODO Auto-generated method stub
		return null;
	}

}
